Networking for Web Developers
classroom
Aim to build a VM.
stay tuned…
From Ping to HTTP
Intro
Setting Up For This Course
Local VM
Install two pieces of software:
- VirtualBox, which you can get from this download page.
- Vagrant, which you can get from this download page.
Use Git Bash
mkdir networking
cd networking
vagrant init ubuntu/trusty64
vagrant up
When it is complete, you can log into the Linux instance with vagrant ssh
. .
I have install it before so for me
cd G:/Udacity/ud256/from\ ping\ to\ http/networking
- remove files in networking
vagrant up
(need about 6 hours to download)- When it is complete, you can log into the Linux instance with
vagrant ssh
. - If you log out of the Linux instance or close the terminal, the next time you want to use it you only need to run
cd networking
andvagrant ssh
.
Installing networking tools
- SSH into your Linux machine. Then take a moment to bring it up to date with any package updates:
sudo apt-get update && sudo apt-get upgrade
Note:1W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/main/source/Sources Hash Sum mismatch
- You’ll be using several network utility programs in this course. Some of them may already be installed, but just to make sure, let’s install them all:
sudo apt-get install netcat-openbsd tcpdump traceroute mtr